package com.quanyan.comment.enums;

import com.quanyan.common.enums.BaseEnum;

/**
 * Created by Administrator on 2016/7/13.
 */
public enum TaskEnum implements BaseEnum {

    TASK_ENUM__MOBILE( 1, "USER_CENTER_MOBILE_B_CODE"    , "登录绑定手机号" , false),
    TASK_ENUM__COMPLETE_DATA( 2, "TASK_ENUM__COMPLETE_DATA"    , "完善资料" , false),
    TASK_ENUM__ADD_CLUB( 3, "TASK_ENUM__ADD_CLUB"    , "加入俱乐部" , false),
    TASK_ENUM__CREATE_CLUB( 4, "TASK_ENUM__CREATE_CLUB"    , "创建俱乐部" , false),
    TASK_ENUM__MAKE_FRIENDS( 5, "TASK_ENUM__MAKE_FRIENDS"    , "结交朋友" , false),
    TASK_ENUM__ADD_EGGSHELLS( 6, "TASK_ENUM__ADD_EGGSHELLS"    , "充值鸟蛋" , false),
    TASK_ENUM__GG_MM( 7, "TASK_ENUM__GG_MM"    , "帅哥美女竞拍" , false),
    TASK_ENUM__T_EGG_SHELLS( 8, "ASSETS_RANDOM_EGGS_CODE"    , "掏鸟蛋" , false),
    TASK_ENUM__MY_DOYEN( 9, "TASK_ENUM__MY_DOYEN"    , "我是达人" , false),
    TASK_ENUM__FOR_HE_FIGHTING( 10, "TASK_ENUM__FOR_HE_FIGHTING"    , "为TA加油" , false),
    TASK_ENUM__APPOINTMENT_DOYEN( 11, "TASK_ENUM__APPOINTMENT_DOYEN"    , "约会达人" , false),
    TASK_ENUM__SHARE( 12, "TASK_ENUM__SHARE"    , "分享" , false),
    TASK_ENUM__WANT_TO_TALK( 13, "TASK_ENUM__WANT_TO_TALK"    , "有话想说" , false),
    TASK_ENUM__I_CLICK_LIKE( 15, "TASK_ENUM__I_CLICK_LIKE"    , "我要点赞" , false),
    TASK_ENUM__I_COMMENT( 16, "TASK_ENUM__I_COMMENT"    , "我要评论" , false),
    TASK_ENUM__SPORTS_WITH_ME( 17, "TASK_ENUM__SPORTS_WITH_ME"    , "跟我运动" , false),
    TASK_ENUM__I_TO_SPORTS( 18, "TASK_ENUM__I_TO_SPORTS"    , "我要运动" , false),
    TASK_ENUM__COME_PK( 19, "TASK_ENUM__COME_PK"    , "发起PK赛" , false),
    TASK_ENUM__GO_PK( 20, "TASK_ENUM__GO_PK"    , "完成PK赛" , false),
    TASK_ENUM__GF_CGS( 21, "TASK_ENUM__GF_CGS"    , "官方场馆赛" , false),
    TASK_ENUM__GAME_WIND( 22, "TASK_ENUM__GAME_WIND"    , "比赛获胜" , false),
    TASK_ENUM__JL_SG( 23, "TASK_ENUM__JL_SG"    , "记录赛果" , false),
    TASK_ENUM__COMMENT_OPPONENT( 24, "TASK_ENUM__COMMENT_OPPONENT"    , "评价对手" , false),
    TASK_ENUM__CREATE_ACTIVITY( 25, "TASK_ENUM__CREATE_ACTIVITY"    , "组织活动" , false),
    TASK_ENUM__JOIN_ACTIVITY( 26, "TASK_ENUM__JOIN_ACTIVITY"    , "参加活动" , false),
    TASK_ENUM__COMMENT_ACTIVITY( 27, "TASK_ENUM__COMMENT_ACTIVITY"    , "活动评价" , false),
    TASK_ENUM_USER_REGISTER_INVITE_TO( 28, "USER_CENTER_REGISTER_TO_CODE"    , "用户注册(被邀请用户奖励)" , false),
    TASK_ENUM_USER_REGISTER_INVITE_FROM( 29, "USER_CENTER_REGISTER_FROM_CODE"    , "用户注册(邀请用户奖励)" , false),
    TASK_ENUM_USER_CENTER_CREATE_JINGPAI( 30, "USER_CENTER_CREATE_JINGPAI"    , "创建竞拍" , false),
    TASK_ENUM_USER_CENTER_JINGPAI_SUCCESS( 31, "USER_CENTER_JINGPAI_SUCCESS"    , "竞拍成功" , false);



    /**
     * 参加的活动id
     */
    protected int id;

    /**
     * 发送mq的主题
     */
    protected String code;

    protected String label;

    protected boolean success;

    TaskEnum(int id, String code, String label, boolean success) {
        this.id = id;
        this.code = code;
        this.label = label;
        this.success = success;
    }

    @Override
    public int getId() {
        return id;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getLabel() {
        return label;
    }

    @Override
    public boolean isSuccess() {
        return success;
    }
}
